package com.sl.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;
import org.springframework.format.annotation.DateTimeFormat;

import java.time.LocalDateTime;


/**
 * @author: weilai
 * @date: 2020/2/27
 * @description:
 */
@Getter
@Setter
@ToString
public class UserVO  {

    private Integer id;
    private Integer roleId;
    private String roleName;

    private String username;
    private String name;
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private LocalDateTime lastLoginTime;

    private String address;//地址
    private String email;//邮箱
    private String telephone;//电话

    //经纬度。
    private Double positionLng;
    private Double positionLat;


    private Integer deleted;
}
